﻿@model List<FinalProjectMVC.Models.EventVM>
<div>
    @{
        foreach (var e in Model)
        {
            <h3>@e.Venue</h3>
            <p>@e.City</p>
            <h4>@e.DateNTIme</h4>
            <a href="/Home/CreateComment/@e.EventId" class="btn btn-info">Add a comment!</a>
            foreach (var c in @e.Comments)
            {
                <h4>@c.UserName: <span class="text-info">@c.CommentBody</span></h4>
            }
        }
    }
</div>